|
|
|
|
|
|
|
Figure 25.16
You choose the record source and fields
using simple combo boxes and lists. |
|
|
|
|
|
|
|
|
To set up the fields for the form, you need to follow these steps: |
|
|
|
|
|
|
|
|
1. Select a record source (table or query name) from the combo box. |
|
|
|
|
|
|
|
|
2. Select the fields to include by clicking the field names in the Available Fields list. You can double-click a field to select it, or highlight the field and click the selection button (>). |
|
|
|
|
|
|
|
|
3. Place the fields in the order you want by moving them in the Selected Fields list. You move a field by highlighting it and then clicking the up or down buttons. (This step is optional.) |
|
|
|
|
|
|
|
|
4. Select the column on which to sort the recordset by choosing it from the Column to Sort By combo box. (This step is optional.) |
|
|
|
|
|
|
|
|
5. Click the Next button to move to the next screen. |
|
|
|
|
|
|
|
|
For our sample project, use the drop-down list box to select the Authors table. Use the technique described here to include the Author and Year Born fields in the Data form. |
|
|
|
|
|
|
|
|
After selecting all the fields that you want on the form, you have some more choices to makeabout how your form will look. Depending on the type of form you chose in the Form screen, several dialog boxes may appear. One such dialog box allows you to choose the buttons that you want to appear on your form; it is the Control Selection screen of the DFW, shown in Figure 25.17. |
|
|
|
|
|
|
|
|
Table 25.3 lists the buttons that you can elect to have appear on your data form. Not all of these buttons are available on all types of forms. |
|
|
|
|
|
|
|
|
After you answer the dialogs concerning form design, click the Next button, and you have the option of saving all your settings in a profile. You can later load this profile without having to go through all the previous screens. |
|
|
|
|
|